import request from '@/utils/request'
import defaultSettings from '@/settings'
import { praseStrEmpty } from '@/utils/ruoyi'

//实时代收代付业务查询
export const apiUrlConfigQuery = {
  queryUrl: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/centralAgentPayInOut/realtimeService/realtimeCollectionPaymentServiceQuery/search`,
}



// 实时代收代付业务查询明细
export function realtimeCollectionPaymentServiceQueryDetail(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/centralAgentPayInOut/realtimeService/realtimeCollectionPaymentServiceQuery/detail`,
    method: 'get',
    params:{id:data.id}

  })
}

// 实时代收代付业务查询应答明细
export function realtimeCollectionPaymentServiceQueryDetailReply(data) {
  return request({
    url: `${defaultSettings.ctx.cnapsApp}/hvpsBepsPayment/centralAgentPayInOut/realtimeService/realtimeCollectionPaymentServiceQuery/detailreply`,
    method: 'get',
    params:{cid:data.cid,status:data.status}

  })
}
